﻿using System;
using System.Collections.Generic;

namespace BenCaoXuan.Infrastructure.EFCore.MySql;

/// <summary>
/// 产品表
/// </summary>
public partial class Product
{
    /// <summary>
    /// 产品ID，主键
    /// </summary>
    public string PId { get; set; } = null!;

    /// <summary>
    /// 产品名称
    /// </summary>
    public string? PName { get; set; }

    /// <summary>
    /// 产品类型ID
    /// </summary>
    public string? PTypeId { get; set; }

    /// <summary>
    /// 产品封面
    /// </summary>
    public string? PCover { get; set; }

    /// <summary>
    /// 产品图片(多张,隔开,轮播图)
    /// </summary>
    public string? PPhoto { get; set; }

    /// <summary>
    /// 产品描述
    /// </summary>
    public string? PDescription { get; set; }

    /// <summary>
    /// 产品功效
    /// </summary>
    public string? PProductEffect { get; set; }

    /// <summary>
    /// 产品注意事项
    /// </summary>
    public string? PProductAttention { get; set; }

    /// <summary>
    /// 产品佣金比例
    /// </summary>
    public decimal? PRules { get; set; }

    /// <summary>
    /// 是否是套餐 1-是,0-不是
    /// </summary>
    public int? PIsGroup { get; set; }

    /// <summary>
    /// 是否禁用：1-禁用，0-启用
    /// </summary>
    public int? PIsBan { get; set; }

    /// <summary>
    /// 产品备注信息
    /// </summary>
    public string? PRemark { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? PCreateTime { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? PUpdateTime { get; set; }
}
